package cn.wuzhizhan.transfer;

import cn.wuzhizhan.transfer.handler.MetricsReceiveHandler;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.socket.SocketChannel;

/**
 * 作者 : wzz
 * 时间 : 16-6-15
 */
public class TransferHandlerInitializer extends ChannelInitializer<SocketChannel>{

	protected void initChannel(SocketChannel ch) throws Exception {
		ch.pipeline().addLast(new MetricsReceiveHandler());
	}
}
